package com.heima.common.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

@Data
@ConfigurationProperties(prefix = "snowflake")
public class SnowflakeProperties {
    private long datacenterId = 1L;
    private long workerId = 1L;
}
